using System;
using System.Collections.Generic;
using System.Runtime.Serialization;

namespace Xnatlas.Serialization
{
    [DataContract]
    public class AtlasStore
    {
        public AtlasStore()
        {
            Created = DateTime.Now;
            Bitmaps = new List<AtlasStoreBitmap>();
        }

        [DataMember(Order = 0)]
        public DateTime Created { get; set; }

        [DataMember(Order = 1)]
        public int Width { get; set; }

        [DataMember(Order = 2)]
        public int Height { get; set; }

        [DataMember(Order = 3)]
        public List<AtlasStoreBitmap> Bitmaps { get; set; }
    }
}